using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.tuangou.tuangouReceiptGetconsumed
{
    /// <summary>
    /// 所在订单商家营销详情
    /// </summary>
    public class ReceiptShopPromo
    {
        /// <summary>
        /// 优惠金额
        /// </summary>
        [JsonPropertyName("promoAmount")]
        public double? PromoAmount { get; set; }

        /// <summary>
        /// 优惠类型
        /// </summary>
        [JsonPropertyName("promoType")]
        public int? PromoType { get; set; }

        /// <summary>
        /// 说明信息
        /// </summary>
        [JsonPropertyName("desc")]
        public string Desc { get; set; }

        public override string ToString()
        {
            return $"ReceiptShopPromo{{PromoAmount={PromoAmount}, PromoType={PromoType}, Desc={Desc}}}";
        }
    }
}
